/*
 * Copyright https://github.com/stathry/generator All rights reserved.
 */
package com.pi.nbcenter.device.entity.auto;

import java.io.Serializable;
import java.util.Date;



/**
 * @author lusj
 * @version  V1.0
 * @Type ELockDeviceAlarm
 * @Desc 告警上报与处理通知
 * @date 2018-10-13 23:54
 */
 
public class ELockDeviceAlarm {

    /** 主键id */
    private Integer id;
      
    /** 设备串号,必填 */
    private String imei;
      
    /** 第三方的供应商id, */
    private String supportCompanyId;
      
    /** 告警事件id(对接方) */
    private String eventId;
      
    /** 告警类型 1：长期未关门报警，2：低电压报警，3：防撬报警  */
    private Integer type;
      
    /** 告警名称（对于type） */
    private String alarmName;
      
    /** 告警时间 yyyyy-MM-dd hh:mm:ss */
    private Date alarmTime;
      
    /** 告警事件状态，1:未解决，2:已处理 */
    private Integer alarmstate;
      
    /** 1：长期未关门报警，2：低电压报警，3：防撬报警 */
    private Integer confirmtype;
      
    /** 处理结果 */
    private String result;
      
    /** 通知类型1:短信,2:語音 */
    private Integer notificationType;
      
    /** 发送的手机号 */
    private String phone;
      
    /** 发送的用户姓名 */
    private String userName;
      
    /** 发送内容 */
    private String content;
      
    /** 发送的用户姓名 */
    private String sendState;
      
    /** 是否发送成功  0:失败，1：成功 */
    private Integer sendTime;
      
    /** 发送失败原因 */
    private String failedReason;
      
    /** 0:未删除 ,1:删除 */
    private Integer isDeleted;
      
    /** 版本 */
    private Integer version;
      
    /** 创建日期 */
    private Date createDate;
      
    /** 修改日期 */
    private Date updateDate;
      
  
    public Integer getId(){  
      return id;  
    }  
    
    public void setId(Integer id){  
      this.id = id;  
    } 
     
    public String getImei(){  
      return imei;  
    }  
    
    public void setImei(String imei){  
      this.imei = imei;  
    } 
     
    public String getSupportCompanyId(){  
      return supportCompanyId;  
    }  
    
    public void setSupportCompanyId(String supportCompanyId){  
      this.supportCompanyId = supportCompanyId;  
    } 
     
    public String getEventId(){  
      return eventId;  
    }  
    
    public void setEventId(String eventId){  
      this.eventId = eventId;  
    } 
     
    public Integer getType(){  
      return type;  
    }  
    
    public void setType(Integer type){  
      this.type = type;  
    } 
     
    public String getAlarmName(){  
      return alarmName;  
    }  
    
    public void setAlarmName(String alarmName){  
      this.alarmName = alarmName;  
    } 
     
    public Date getAlarmTime(){  
      return alarmTime;  
    }  
    
    public void setAlarmTime(Date alarmTime){  
      this.alarmTime = alarmTime;  
    } 
     
    public Integer getAlarmstate(){  
      return alarmstate;  
    }  
    
    public void setAlarmstate(Integer alarmstate){  
      this.alarmstate = alarmstate;  
    } 
     
    public Integer getConfirmtype(){  
      return confirmtype;  
    }  
    
    public void setConfirmtype(Integer confirmtype){  
      this.confirmtype = confirmtype;  
    } 
     
    public String getResult(){  
      return result;  
    }  
    
    public void setResult(String result){  
      this.result = result;  
    } 
     
    public Integer getNotificationType(){  
      return notificationType;  
    }  
    
    public void setNotificationType(Integer notificationType){  
      this.notificationType = notificationType;  
    } 
     
    public String getPhone(){  
      return phone;  
    }  
    
    public void setPhone(String phone){  
      this.phone = phone;  
    } 
     
    public String getUserName(){  
      return userName;  
    }  
    
    public void setUserName(String userName){  
      this.userName = userName;  
    } 
     
    public String getContent(){  
      return content;  
    }  
    
    public void setContent(String content){  
      this.content = content;  
    } 
     
    public String getSendState(){  
      return sendState;  
    }  
    
    public void setSendState(String sendState){  
      this.sendState = sendState;  
    } 
     
    public Integer getSendTime(){  
      return sendTime;  
    }  
    
    public void setSendTime(Integer sendTime){  
      this.sendTime = sendTime;  
    } 
     
    public String getFailedReason(){  
      return failedReason;  
    }  
    
    public void setFailedReason(String failedReason){  
      this.failedReason = failedReason;  
    } 
     
    public Integer getIsDeleted(){  
      return isDeleted;  
    }  
    
    public void setIsDeleted(Integer isDeleted){  
      this.isDeleted = isDeleted;  
    } 
     
    public Integer getVersion(){  
      return version;  
    }  
    
    public void setVersion(Integer version){  
      this.version = version;  
    } 
     
    public Date getCreateDate(){  
      return createDate;  
    }  
    
    public void setCreateDate(Date createDate){  
      this.createDate = createDate;  
    } 
     
    public Date getUpdateDate(){  
      return updateDate;  
    }  
    
    public void setUpdateDate(Date updateDate){  
      this.updateDate = updateDate;  
    } 
     

    @Override
    public String toString() {
        return "ELockDeviceAlarm[" +  "id = " + id
          + ",imei = " + imei
          + ",supportCompanyId = " + supportCompanyId
          + ",eventId = " + eventId
          + ",type = " + type
          + ",alarmName = " + alarmName
          + ",alarmTime = " + alarmTime
          + ",alarmstate = " + alarmstate
          + ",confirmtype = " + confirmtype
          + ",result = " + result
          + ",notificationType = " + notificationType
          + ",phone = " + phone
          + ",userName = " + userName
          + ",content = " + content
          + ",sendState = " + sendState
          + ",sendTime = " + sendTime
          + ",failedReason = " + failedReason
          + ",isDeleted = " + isDeleted
          + ",version = " + version
          + ",createDate = " + createDate
          + ",updateDate = " + updateDate
         + "]";
    }
}  